<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
  
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
	.user{ text-align:right}

</style>
<title>Pay</title>
</head>
<body>
<div class="user">


		<h4>welcome: ${cust.userName }</h4>
		
	</div>
	<table>
		<c:forEach items="${orders }" var="order">
			<tr>
				<td>${order.value.bookName }</td>
				<td>${order.value.total }</td>
				<td>${order.value.buyTime }</td>
			</tr>
		
		
		</c:forEach>
	
	</table>
	<br/>
		<a href="../sec/buy">结算</a>
</body>
</html>